/**
 * api文件
 * @Author: yd_renyuanyu
 * @Date: 2021-11-12 10:48:10
 * @Version: 1.0.0
 */
import request from '@/lib/request';

/* ********** ClaimType ********** */
/**
 * --
 * @tips ClaimType
 * @tags [ClaimType]
 * @param { object } aDataQuery 参数 [Api_GET_ClaimTypesQO]
  */
export function api_GET_ClaimTypes (aDataQuery) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: '/api/identity/claim-types',
    method: 'get',
    params: aDataQuery
  });
}
/**
 * --
 * @tips ClaimType
 * @tags [ClaimType]
 * @param { object } aDataBody 参数 [#/components/schemas/Volo.Abp.Identity.CreateClaimTypeDto]
  */
export function api_POST_ClaimTypes (aDataBody) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: '/api/identity/claim-types',
    method: 'post',
    data: aDataBody
  });
}
/**
 * --
 * @tips ClaimType
 * @tags [ClaimType]
 * @param {string} id
  */
export function api_GET_ClaimTypesId (id) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: `/api/identity/claim-types/${id}`,
    method: 'get'
  });
}
/**
 * --
 * @tips ClaimType
 * @tags [ClaimType]
 * @param {string} id
 * @param { object } aDataBody 参数 [#/components/schemas/Volo.Abp.Identity.UpdateClaimTypeDto]
  */
export function api_PUT_ClaimTypesId (id, aDataBody) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: `/api/identity/claim-types/${id}`,
    method: 'put',
    data: aDataBody
  });
}
/**
 * --
 * @tips ClaimType
 * @tags [ClaimType]
 * @param {string} id
  */
export function api_DELETE_ClaimTypesId (id) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: `/api/identity/claim-types/${id}`,
    method: 'delete'
  });
}
/* ********** Edition ********** */
/**
 * 新建版本
 * @tips Edition
 * @tags [Edition]
 * @param { object } aDataBody 参数 [#/components/schemas/Volo.Abp.Identity.CreateEditionInput]
  */
export function api_POST_Edition (aDataBody) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: '/api/identity/edition',
    method: 'post',
    data: aDataBody
  });
}
/**
 * 查询版本列表
 * @tips Edition
 * @tags [Edition]
 * @param { object } aDataQuery 参数 [Api_GET_EditionQO]
  */
export function api_GET_Edition (aDataQuery) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: '/api/identity/edition',
    method: 'get',
    params: aDataQuery
  });
}
/**
 * 删除版本
 * @tips Edition
 * @tags [Edition]
 * @param {string} id 版本ID
  */
export function api_DELETE_EditionId (id) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: `/api/identity/edition/${id}`,
    method: 'delete'
  });
}
/**
 * 更新版本
 * @tips Edition
 * @tags [Edition]
 * @param {string} id 版本ID
 * @param { object } aDataBody 参数 [#/components/schemas/Volo.Abp.Identity.CreateEditionInput]
  */
export function api_PUT_EditionId (id, aDataBody) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: `/api/identity/edition/${id}`,
    method: 'put',
    data: aDataBody
  });
}
/**
 * 查询指定版本
 * @tips Edition
 * @tags [Edition]
 * @param {string} id 版本ID
 * @param { object } aDataQuery 参数 [Api_GET_EditionIdQO]
  */
export function api_GET_EditionId (id, aDataQuery) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: `/api/identity/edition/${id}`,
    method: 'get',
    params: aDataQuery
  });
}
/**
 * 查询指定机构的版本
 * @tips Edition
 * @tags [Edition]
 * @param {string} organizationUnitId 机构ID
 * @param { object } aDataQuery 参数 [Api_GET_EditionByOuidOrganizationUnitIdQO]
  */
export function api_GET_EditionByOuidOrganizationUnitId (organizationUnitId, aDataQuery) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: `/api/identity/edition/by-ouid/${organizationUnitId}`,
    method: 'get',
    params: aDataQuery
  });
}
/**
 * 查询版本模块列表
 * @tips Edition
 * @tags [Edition]
 * @param {string} id 版本ID
 * @param { object } aDataQuery 参数 [Api_GET_EditionIdModulesQO]
  */
export function api_GET_EditionIdModules (id, aDataQuery) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: `/api/identity/edition/${id}/modules`,
    method: 'get',
    params: aDataQuery
  });
}
/**
 * 获取所有模块列表
 * @tips Edition
 * @tags [Edition]
 * @param { object } aDataQuery 参数 [Api_GET_EditionModulesQO]
  */
export function api_GET_EditionModules (aDataQuery) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: '/api/identity/edition/modules',
    method: 'get',
    params: aDataQuery
  });
}
/**
 * 更新机构的版本
 * @tips Edition
 * @tags [Edition]
 * @param { object } aDataBody 参数 [#/components/schemas/Volo.Abp.Identity.UpdateOrganizationUnitEditionInput]
  */
export function api_POST_EditionOuEdition (aDataBody) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: '/api/identity/edition/ou-edition',
    method: 'post',
    data: aDataBody
  });
}
/**
 * 获取有效期类型列表
 * @tips Edition
 * @tags [Edition]
  */
export function api_GET_EditionValidityTypes () {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: '/api/identity/edition/validity-types',
    method: 'get'
  });
}
/* ********** OrganizationUnit ********** */
/**
 * 批量创建区域机构
 * @tips OrganizationUnit
 * @tags [OrganizationUnit]
 * @param { object } aDataBody 参数 [#/components/schemas/Volo.Abp.Identity.CreateOrganizationUnitsInput]
  */
export function api_POST_OrganizationUnitsBatch (aDataBody) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: '/api/identity/organization-units/batch',
    method: 'post',
    data: aDataBody
  });
}
/**
 * 获取所有子机构ID列表
 * @tips OrganizationUnit
 * @tags [OrganizationUnit]
 * @param {string} id 机构ID
  */
export function api_GET_OrganizationUnitsIdAllChildrenids (id) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: `/api/identity/organization-units/${id}/all-childrenids`,
    method: 'get'
  });
}
/**
 * 新建道馆
 * @tips OrganizationUnit
 * @tags [OrganizationUnit]
 * @param { object } aDataBody 参数 [#/components/schemas/Volo.Abp.Identity.CreateClubInput]
  */
export function api_POST_OrganizationUnitsClub (aDataBody) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: '/api/identity/organization-units/club',
    method: 'post',
    data: aDataBody
  });
}
/**
 * 转移组织机构
 * @tips OrganizationUnit
 * @tags [OrganizationUnit]
 * @param {string} id 被转移的组织机构ID
 * @param { object } aDataBody 参数 [#/components/schemas/Volo.Abp.Identity.OrganizationUnitMoveInput]
  */
export function api_PUT_OrganizationUnitsIdMove (id, aDataBody) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: `/api/identity/organization-units/${id}/move`,
    method: 'put',
    data: aDataBody
  });
}
/**
 * 启用组织机构
 * @tips OrganizationUnit
 * @tags [OrganizationUnit]
 * @param {string} id 组织机构ID
  */
export function api_PUT_OrganizationUnitsIdEnable (id) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: `/api/identity/organization-units/${id}/enable`,
    method: 'put'
  });
}
/**
 * 禁用组织机构
 * @tips OrganizationUnit
 * @tags [OrganizationUnit]
 * @param {string} id 组织机构ID
  */
export function api_PUT_OrganizationUnitsIdDisable (id) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: `/api/identity/organization-units/${id}/disable`,
    method: 'put'
  });
}
/**
 * 获取组织架构类型列表
 * @tips OrganizationUnit
 * @tags [OrganizationUnit]
  */
export function api_GET_OrganizationUnitsTypes () {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: '/api/identity/organization-units/types',
    method: 'get'
  });
}
/**
 * 获取子机构类型列表
 * @tips OrganizationUnit
 * @tags [OrganizationUnit]
 * @param {string} id 当前机构ID
  */
export function api_GET_OrganizationUnitsIdChildTypes (id) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: `/api/identity/organization-units/${id}/child-types`,
    method: 'get'
  });
}
/**
 * 新建组织机构
 * @tips OrganizationUnit
 * @tags [OrganizationUnit]
 * @param { object } aDataBody 参数 [#/components/schemas/Volo.Abp.Identity.OrganizationUnitCreateInput]
  */
export function api_POST_OrganizationUnits (aDataBody) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: '/api/identity/organization-units',
    method: 'post',
    data: aDataBody
  });
}
/**
 * --
 * @tips OrganizationUnit
 * @tags [OrganizationUnit]
 * @param { object } aDataQuery 参数 [Api_GET_OrganizationUnitsQO]
  */
export function api_GET_OrganizationUnits (aDataQuery) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: '/api/identity/organization-units',
    method: 'get',
    params: aDataQuery
  });
}
/**
 * 删除组织机构
 * @tips OrganizationUnit
 * @tags [OrganizationUnit]
 * @param {string} id 组织机构ID
  */
export function api_DELETE_OrganizationUnitsId (id) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: `/api/identity/organization-units/${id}`,
    method: 'delete'
  });
}
/**
 * 修改组织机构
 * @tips OrganizationUnit
 * @tags [OrganizationUnit]
 * @param {string} id 组织机构ID
 * @param { object } aDataBody 参数 [#/components/schemas/Volo.Abp.Identity.OrganizationUnitUpdateInput]
  */
export function api_PUT_OrganizationUnitsId (id, aDataBody) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: `/api/identity/organization-units/${id}`,
    method: 'put',
    data: aDataBody
  });
}
/**
 * 获取组织机构
 * @tips OrganizationUnit
 * @tags [OrganizationUnit]
 * @param {string} id 组织机构ID
 * @param { object } aDataQuery 参数 [Api_GET_OrganizationUnitsIdQO]
  */
export function api_GET_OrganizationUnitsId (id, aDataQuery) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: `/api/identity/organization-units/${id}`,
    method: 'get',
    params: aDataQuery
  });
}
/**
 * 获取组织机构列表（有读取权限的）
 * @tips OrganizationUnit
 * @tags [OrganizationUnit]
  */
export function api_GET_OrganizationUnitsList () {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: '/api/identity/organization-units/list',
    method: 'get'
  });
}
/**
 * 获取组织机构列表
 * @tips OrganizationUnit
 * @tags [OrganizationUnit]
 * @param {boolean} includeDetails 是否包含详细信息（角色列表）
  */
export function api_GET_OrganizationUnitsAllIncludeDetails (includeDetails) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: `/api/identity/organization-units/all/${includeDetails}`,
    method: 'get'
  });
}
/**
 * 获取下级组织机构列表（直接下级）
 * @tips OrganizationUnit
 * @tags [OrganizationUnit]
 * @param {string} id 父级组织机构ID
 * @param { object } aDataQuery 参数 [Api_GET_OrganizationUnitsIdChildrenQO]
  */
export function api_GET_OrganizationUnitsIdChildren (id, aDataQuery) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: `/api/identity/organization-units/${id}/children`,
    method: 'get',
    params: aDataQuery
  });
}
/**
 * 获取指定组织机构树
 * @tips OrganizationUnit
 * @tags [OrganizationUnit]
 * @param {string} id 组织机构ID
 * @param { object } aDataQuery 参数 [Api_GET_OrganizationUnitsTreeIdQO]
  */
export function api_GET_OrganizationUnitsTreeId (id, aDataQuery) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: `/api/identity/organization-units/tree/${id}`,
    method: 'get',
    params: aDataQuery
  });
}
/**
 * 获取所有的组织机构树
 * @tips OrganizationUnit
 * @tags [OrganizationUnit]
 * @param { object } aDataQuery 参数 [Api_GET_OrganizationUnitsTreeQO]
  */
export function api_GET_OrganizationUnitsTree (aDataQuery) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: '/api/identity/organization-units/tree',
    method: 'get',
    params: aDataQuery
  });
}
/**
 * 获取组织机构下的用户（包含所有下属层级）
 * @tips OrganizationUnit
 * @tags [OrganizationUnit]
 * @param {string} id 组织机构ID
 * @param { object } aDataQuery 参数 [Api_GET_OrganizationUnitsIdUsersQO]
  */
export function api_GET_OrganizationUnitsIdUsers (id, aDataQuery) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: `/api/identity/organization-units/${id}/users`,
    method: 'get',
    params: aDataQuery
  });
}
/**
 * 当前用户是否可以创建顶级组织机构
 * @tips OrganizationUnit
 * @tags [OrganizationUnit]
  */
export function api_GET_OrganizationUnitsCanCreateRoot () {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: '/api/identity/organization-units/can-create-root',
    method: 'get'
  });
}
/**
 * --
 * @tips OrganizationUnit
 * @tags [OrganizationUnit]
 * @param {string} id
 * @param { object } aDataBody 参数 [#/components/schemas/Volo.Abp.Identity.OrganizationUnitRoleInput]
  */
export function api_PUT_OrganizationUnitsIdRoles (id, aDataBody) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: `/api/identity/organization-units/${id}/roles`,
    method: 'put',
    data: aDataBody
  });
}
/**
 * --
 * @tips OrganizationUnit
 * @tags [OrganizationUnit]
 * @param {string} id
 * @param { object } aDataQuery 参数 [Api_GET_OrganizationUnitsIdRolesQO]
  */
export function api_GET_OrganizationUnitsIdRoles (id, aDataQuery) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: `/api/identity/organization-units/${id}/roles`,
    method: 'get',
    params: aDataQuery
  });
}
/**
 * --
 * @tips OrganizationUnit
 * @tags [OrganizationUnit]
 * @param {string} id
 * @param { object } aDataBody 参数 [#/components/schemas/Volo.Abp.Identity.OrganizationUnitUserInput]
  */
export function api_PUT_OrganizationUnitsIdMembers (id, aDataBody) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: `/api/identity/organization-units/${id}/members`,
    method: 'put',
    data: aDataBody
  });
}
/**
 * --
 * @tips OrganizationUnit
 * @tags [OrganizationUnit]
 * @param {string} id
 * @param { object } aDataQuery 参数 [Api_GET_OrganizationUnitsIdMembersQO]
  */
export function api_GET_OrganizationUnitsIdMembers (id, aDataQuery) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: `/api/identity/organization-units/${id}/members`,
    method: 'get',
    params: aDataQuery
  });
}
/**
 * --
 * @tips OrganizationUnit
 * @tags [OrganizationUnit]
 * @param { object } aDataQuery 参数 [Api_GET_OrganizationUnitsAvailableUsersQO]
  */
export function api_GET_OrganizationUnitsAvailableUsers (aDataQuery) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: '/api/identity/organization-units/available-users',
    method: 'get',
    params: aDataQuery
  });
}
/**
 * --
 * @tips OrganizationUnit
 * @tags [OrganizationUnit]
 * @param { object } aDataQuery 参数 [Api_GET_OrganizationUnitsAvailableRolesQO]
  */
export function api_GET_OrganizationUnitsAvailableRoles (aDataQuery) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: '/api/identity/organization-units/available-roles',
    method: 'get',
    params: aDataQuery
  });
}
/**
 * --
 * @tips OrganizationUnit
 * @tags [OrganizationUnit]
 * @param {string} id
 * @param {string} memberId
  */
export function api_DELETE_OrganizationUnitsIdMembersMemberId (id, memberId) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: `/api/identity/organization-units/${id}/members/${memberId}`,
    method: 'delete'
  });
}
/**
 * --
 * @tips OrganizationUnit
 * @tags [OrganizationUnit]
 * @param {string} id
 * @param {string} roleId
  */
export function api_DELETE_OrganizationUnitsIdRolesRoleId (id, roleId) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: `/api/identity/organization-units/${id}/roles/${roleId}`,
    method: 'delete'
  });
}
/* ********** Profile ********** */
/**
 * --
 * @tips Profile
 * @tags [Profile]
  */
export function api_GET_MyProfile () {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: '/api/identity/my-profile',
    method: 'get'
  });
}
/**
 * --
 * @tips Profile
 * @tags [Profile]
 * @param { object } aDataBody 参数 [#/components/schemas/Volo.Abp.Identity.UpdateProfileDto]
  */
export function api_PUT_MyProfile (aDataBody) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: '/api/identity/my-profile',
    method: 'put',
    data: aDataBody
  });
}
/**
 * --
 * @tips Profile
 * @tags [Profile]
 * @param { object } aDataBody 参数 [#/components/schemas/Volo.Abp.Identity.ChangePasswordInput]
  */
export function api_POST_MyProfileChangePassword (aDataBody) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: '/api/identity/my-profile/change-password',
    method: 'post',
    data: aDataBody
  });
}
/**
 * --
 * @tips Profile
 * @tags [Profile]
  */
export function api_GET_MyProfileTwoFactorEnabled () {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: '/api/identity/my-profile/two-factor-enabled',
    method: 'get'
  });
}
/**
 * --
 * @tips Profile
 * @tags [Profile]
 * @param { object } aDataQuery 参数 [Api_POST_MyProfileSetTwoFactorEnabledQO]
  */
export function api_POST_MyProfileSetTwoFactorEnabled (aDataQuery) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: '/api/identity/my-profile/set-two-factor-enabled',
    method: 'post',
    params: aDataQuery
  });
}
/* ********** Role ********** */
/**
 * 获取当前用户默认管理的通用角色
 * @tips Role
 * @tags [Role]
 * @param { object } aDataQuery 参数 [Api_GET_RolesDefaultQO]
  */
export function api_GET_RolesDefault (aDataQuery) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: '/api/identity/roles/default',
    method: 'get',
    params: aDataQuery
  });
}
/**
 * 获取当前用户默认管理的通用角色所属机构
 * @tips Role
 * @tags [Role]
  */
export function api_GET_RolesDefaultOrganizationUnit () {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: '/api/identity/roles/default-organization-unit',
    method: 'get'
  });
}
/**
 * 创建角色
 * @tips Role
 * @tags [Role]
 * @param { object } aDataBody 参数 [#/components/schemas/Volo.Abp.Identity.IdentityRoleCreateInput]
  */
export function api_POST_Roles (aDataBody) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: '/api/identity/roles',
    method: 'post',
    data: aDataBody
  });
}
/**
 * 获取角色列表
 * @tips Role
 * @tags [Role]
 * @param { object } aDataQuery 参数 [Api_GET_RolesQO]
  */
export function api_GET_Roles (aDataQuery) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: '/api/identity/roles',
    method: 'get',
    params: aDataQuery
  });
}
/**
 * 为当前机构创建角色
 * @tips Role
 * @tags [Role]
 * @param { object } aDataBody 参数 [#/components/schemas/Volo.Abp.Identity.CreateRoleInput]
  */
export function api_POST_RolesCreate (aDataBody) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: '/api/identity/roles/create',
    method: 'post',
    data: aDataBody
  });
}
/**
 * 获取指定角色所拥有的权限组列表
 * @tips Role
 * @tags [Role]
 * @param {string} id 角色ID
  */
export function api_GET_RolesPermissionGroupsId (id) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: `/api/identity/roles/permission-groups/${id}`,
    method: 'get'
  });
}
/**
 * 为当前机构更新角色
 * @tips Role
 * @tags [Role]
 * @param {string} id 角色ID
 * @param { object } aDataBody 参数 [#/components/schemas/Volo.Abp.Identity.CreateRoleInput]
  */
export function api_PUT_RolesUpdateId (id, aDataBody) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: `/api/identity/roles/update/${id}`,
    method: 'put',
    data: aDataBody
  });
}
/**
 * 删除角色
 * @tips Role
 * @tags [Role]
 * @param {string} id 角色ID
  */
export function api_DELETE_RolesId (id) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: `/api/identity/roles/${id}`,
    method: 'delete'
  });
}
/**
 * 更新角色
 * @tips Role
 * @tags [Role]
 * @param {string} id 角色ID
 * @param { object } aDataBody 参数 [#/components/schemas/Volo.Abp.Identity.IdentityRoleUpdateInput]
  */
export function api_PUT_RolesId (id, aDataBody) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: `/api/identity/roles/${id}`,
    method: 'put',
    data: aDataBody
  });
}
/**
 * 获取角色
 * @tips Role
 * @tags [Role]
 * @param {string} id 角色ID
  */
export function api_GET_RolesId (id) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: `/api/identity/roles/${id}`,
    method: 'get'
  });
}
/**
 * 获取角色列表
 * @tips Role
 * @tags [Role]
  */
export function api_GET_RolesAll () {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: '/api/identity/roles/all',
    method: 'get'
  });
}
/**
 * --
 * @tips Role
 * @tags [Role]
 * @param {string} id
 * @param { object } aDataBody 参数
  */
export function api_PUT_RolesIdClaims (id, aDataBody) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: `/api/identity/roles/${id}/claims`,
    method: 'put',
    data: aDataBody
  });
}
/**
 * --
 * @tips Role
 * @tags [Role]
 * @param {string} id
  */
export function api_GET_RolesIdClaims (id) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: `/api/identity/roles/${id}/claims`,
    method: 'get'
  });
}
/**
 * --
 * @tips Role
 * @tags [Role]
  */
export function api_GET_RolesAllClaimTypes () {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: '/api/identity/roles/all-claim-types',
    method: 'get'
  });
}
/* ********** SecurityLog ********** */
/**
 * --
 * @tips SecurityLog
 * @tags [SecurityLog]
 * @param { object } aDataQuery 参数 [Api_GET_SecurityLogsQO]
  */
export function api_GET_SecurityLogs (aDataQuery) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: '/api/identity/security-logs',
    method: 'get',
    params: aDataQuery
  });
}
/**
 * --
 * @tips SecurityLog
 * @tags [SecurityLog]
 * @param {string} id
  */
export function api_GET_SecurityLogsId (id) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: `/api/identity/security-logs/${id}`,
    method: 'get'
  });
}
/**
 * --
 * @tips SecurityLog
 * @tags [SecurityLog]
 * @param { object } aDataQuery 参数 [Api_GET_SecurityLogsMyQO]
  */
export function api_GET_SecurityLogsMy (aDataQuery) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: '/api/identity/security-logs/my',
    method: 'get',
    params: aDataQuery
  });
}
/**
 * --
 * @tips SecurityLog
 * @tags [SecurityLog]
 * @param {string} id
  */
export function api_GET_SecurityLogsMyId (id) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: `/api/identity/security-logs/my/${id}`,
    method: 'get'
  });
}
/* ********** Settings ********** */
/**
 * --
 * @tips Settings
 * @tags [Settings]
  */
export function api_GET_Settings () {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: '/api/identity/settings',
    method: 'get'
  });
}
/**
 * --
 * @tips Settings
 * @tags [Settings]
 * @param { object } aDataBody 参数 [#/components/schemas/Volo.Abp.Identity.IdentitySettingsDto]
  */
export function api_PUT_Settings (aDataBody) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: '/api/identity/settings',
    method: 'put',
    data: aDataBody
  });
}
/* ********** User ********** */
/**
 * 创建或绑定（若已存在）微信小程序用户
 * @tips User
 * @tags [User]
 * @param { object } aDataBody 参数 [#/components/schemas/Volo.Abp.Identity.CreateOrBindWeChatMiniProgramUserInput]
  */
export function api_POST_UsersWechatMiniCreateOrBind (aDataBody) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: '/api/identity/users/wechat/mini/create-or-bind',
    method: 'post',
    data: aDataBody
  });
}
/**
 * 获取微信小程序绑定的用户
 * @tips User
 * @tags [User]
 * @param { object } aDataQuery 参数 [Api_GET_UsersWechatMiniGetQO]
  */
export function api_GET_UsersWechatMiniGet (aDataQuery) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: '/api/identity/users/wechat/mini/get',
    method: 'get',
    params: aDataQuery
  });
}
/**
 * 创建或绑定微信
 * @tips User
 * @tags [User]
 * @param { object } aDataBody 参数 [#/components/schemas/Volo.Abp.Identity.CreateOrBindWeChatUserInput]
  */
export function api_POST_UsersWechatCreateOrBind (aDataBody) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: '/api/identity/users/wechat/create-or-bind',
    method: 'post',
    data: aDataBody
  });
}
/**
 * 获取或创建微信
 * @tips User
 * @tags [User]
 * @param { object } aDataBody 参数 [#/components/schemas/Volo.Abp.Identity.GetOrCreateWeChatUserInput]
  */
export function api_POST_UsersWechatGetOrCreate (aDataBody) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: '/api/identity/users/wechat/get-or-create',
    method: 'post',
    data: aDataBody
  });
}
/**
 * 绑定微信发送验证码
 * @tips User
 * @tags [User]
 * @param { object } aDataBody 参数 [#/components/schemas/Volo.Abp.Identity.SendBindingWeChatSmsCodeInput]
  */
export function api_POST_UsersWechatSmsCode (aDataBody) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: '/api/identity/users/wechat/sms-code',
    method: 'post',
    data: aDataBody
  });
}
/**
 * 绑定微信
 * @tips User
 * @tags [User]
 * @param { object } aDataBody 参数 [#/components/schemas/Volo.Abp.Identity.BindWeChatInput]
  */
export function api_POST_UsersWechatBind (aDataBody) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: '/api/identity/users/wechat/bind',
    method: 'post',
    data: aDataBody
  });
}
/**
 * 绑定邮箱
 * @tips User
 * @tags [User]
 * @param { object } aDataBody 参数 [#/components/schemas/Volo.Abp.Identity.BindEmailInput]
  */
export function api_POST_UsersBindEmail (aDataBody) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: '/api/identity/users/bind-email',
    method: 'post',
    data: aDataBody
  });
}
/**
 * 发送绑定邮箱验证码
 * @tips User
 * @tags [User]
 * @param { object } aDataBody 参数 [#/components/schemas/Volo.Abp.Identity.SendEmailVerificationCodeInput]
  */
export function api_POST_UsersBindEmailEmailCode (aDataBody) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: '/api/identity/users/bind-email/email-code',
    method: 'post',
    data: aDataBody
  });
}
/**
 * 更改用户手机号，发送验证码
 * @tips User
 * @tags [User]
 * @param { object } aDataBody 参数 [#/components/schemas/Volo.Abp.Identity.SendSmsCodeInput]
  */
export function api_POST_UsersChangePhonenumberSmsCode (aDataBody) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: '/api/identity/users/change-phonenumber/sms-code',
    method: 'post',
    data: aDataBody
  });
}
/**
 * 验证手机验证码
 * @tips User
 * @tags [User]
 * @param { object } aDataBody 参数 [#/components/schemas/Volo.Abp.Identity.VerifySmsCodeInput]
  */
export function api_POST_UsersVerifySmsCode (aDataBody) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: '/api/identity/users/verify-sms-code',
    method: 'post',
    data: aDataBody
  });
}
/**
 * 更改用户手机号
 * @tips User
 * @tags [User]
 * @param { object } aDataBody 参数 [#/components/schemas/Volo.Abp.Identity.ChangePhoneNumberInput]
  */
export function api_POST_UsersChangePhonenumber (aDataBody) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: '/api/identity/users/change-phonenumber',
    method: 'post',
    data: aDataBody
  });
}
/**
 * 获取用户所属机构最近的通用角色
 * @tips User
 * @tags [User]
 * @param { object } aDataQuery 参数 [Api_GET_UsersFirstDefaultRoleQO]
  */
export function api_GET_UsersFirstDefaultRole (aDataQuery) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: '/api/identity/users/first-default-role',
    method: 'get',
    params: aDataQuery
  });
}
/**
 * 获取当前用户第一个有权限的组织机构
 * @tips User
 * @tags [User]
 * @param { object } aDataQuery 参数 [Api_GET_UsersFirstPermissionOrganizationUnitQO]
  */
export function api_GET_UsersFirstPermissionOrganizationUnit (aDataQuery) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: '/api/identity/users/first-permission-organization-unit',
    method: 'get',
    params: aDataQuery
  });
}
/**
 * 获取当前用户最近的父级组织机构
 * @tips User
 * @tags [User]
  */
export function api_GET_UsersParentOrganizationUnit () {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: '/api/identity/users/parent-organization-unit',
    method: 'get'
  });
}
/**
 * 获取当前用户最近的父级组织机构列表
 * @tips User
 * @tags [User]
  */
export function api_GET_UsersParentOrganizationUnits () {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: '/api/identity/users/parent-organization-units',
    method: 'get'
  });
}
/**
 * 获取有权限的组织机构列表
 * @tips User
 * @tags [User]
  */
export function api_GET_UsersPemissionOrganizationUnits () {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: '/api/identity/users/pemission-organization-units',
    method: 'get'
  });
}
/**
 * 获取当前用户顶级组织机构列表
 * @tips User
 * @tags [User]
  */
export function api_GET_UsersRootOrganizationUnits () {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: '/api/identity/users/root-organization-units',
    method: 'get'
  });
}
/**
 * 修改注册用户密码
 * @tips User
 * @tags [User]
 * @param { object } aDataBody 参数 [#/components/schemas/Volo.Abp.Identity.RegisterUserInput]
  */
export function api_POST_UsersRegisterResetPassword (aDataBody) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: '/api/identity/users/register/reset-password',
    method: 'post',
    data: aDataBody
  });
}
/**
 * 注册新用户
 * @tips User
 * @tags [User]
 * @param { object } aDataBody 参数 [#/components/schemas/Volo.Abp.Identity.RegisterUserInput]
  */
export function api_POST_UsersRegister (aDataBody) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: '/api/identity/users/register',
    method: 'post',
    data: aDataBody
  });
}
/**
 * 注册新用户发送手机验证码
 * @tips User
 * @tags [User]
 * @param { object } aDataBody 参数 [#/components/schemas/Volo.Abp.Identity.SendSmsCodeInput]
  */
export function api_POST_UsersRegisterSmsCode (aDataBody) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: '/api/identity/users/register/sms-code',
    method: 'post',
    data: aDataBody
  });
}
/**
 * 获取有指定权限的组织机构ID列表
 * @tips User
 * @tags [User]
 * @param {string} permission 权限
  */
export function api_GET_UsersOrganizationUnitidsPermission (permission) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: `/api/identity/users/organization-unitids/${permission}`,
    method: 'get'
  });
}
/**
 * 获取有指定权限的组织机构角色列表
 * @tips User
 * @tags [User]
 * @param {string} permission 权限
  */
export function api_GET_UsersOrganizationUnitrolesPermission (permission) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: `/api/identity/users/organization-unitroles/${permission}`,
    method: 'get'
  });
}
/**
 * --
 * @tips User
 * @tags [User]
 * @param { object } aDataQuery 参数 [Api_GET_UsersHasPermissionQO]
  */
export function api_GET_UsersHasPermission (aDataQuery) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: '/api/identity/users/has-permission',
    method: 'get',
    params: aDataQuery
  });
}
/**
 * 获取当前用户所在组织
 * @tips User
 * @tags [User]
  */
export function api_GET_UsersOrganizationUnit () {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: '/api/identity/users/organization-unit',
    method: 'get'
  });
}
/**
 * 获取当前用户信息
 * @tips User
 * @tags [User]
  */
export function api_GET_UsersCurrent () {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: '/api/identity/users/current',
    method: 'get'
  });
}
/**
 * 更换超管，发送验证码
 * @tips User
 * @tags [User]
 * @param { object } aDataBody 参数 [#/components/schemas/Volo.Abp.Identity.SendSmsCodeInput]
  */
export function api_POST_UsersChangeAdminSmsCode (aDataBody) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: '/api/identity/users/change-admin/sms-code',
    method: 'post',
    data: aDataBody
  });
}
/**
 * 更换超管
 * @tips User
 * @tags [User]
 * @param { object } aDataBody 参数 [#/components/schemas/Volo.Abp.Identity.ChangeAdminInput]
  */
export function api_POST_UsersChangeAdmin (aDataBody) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: '/api/identity/users/change-admin',
    method: 'post',
    data: aDataBody
  });
}
/**
 * 创建用户
 * @tips User
 * @tags [User]
 * @param { object } aDataBody 参数 [#/components/schemas/Volo.Abp.Identity.IdentityUserCreateDto]
  */
export function api_POST_Users (aDataBody) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: '/api/identity/users',
    method: 'post',
    data: aDataBody
  });
}
/**
 * --
 * @tips User
 * @tags [User]
 * @param { object } aDataQuery 参数 [Api_GET_UsersQO]
  */
export function api_GET_Users (aDataQuery) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: '/api/identity/users',
    method: 'get',
    params: aDataQuery
  });
}
/**
 * 删除用户
 * @tips User
 * @tags [User]
 * @param {string} id 用户ID
  */
export function api_DELETE_UsersId (id) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: `/api/identity/users/${id}`,
    method: 'delete'
  });
}
/**
 * 更新用户
 * @tips User
 * @tags [User]
 * @param {string} id 用户ID
 * @param { object } aDataBody 参数 [#/components/schemas/Volo.Abp.Identity.IdentityUserUpdateDto]
  */
export function api_PUT_UsersId (id, aDataBody) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: `/api/identity/users/${id}`,
    method: 'put',
    data: aDataBody
  });
}
/**
 * 获取用户信息
 * @tips User
 * @tags [User]
 * @param {string} id 用户ID
  */
export function api_GET_UsersId (id) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: `/api/identity/users/${id}`,
    method: 'get'
  });
}
/**
 * 更新密码
 * @tips User
 * @tags [User]
 * @param { object } aDataBody 参数 [#/components/schemas/Volo.Abp.Identity.IdentityUserUpdatePasswordInput]
  */
export function api_PUT_UsersChangePassword (aDataBody) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: '/api/identity/users/change-password',
    method: 'put',
    data: aDataBody
  });
}
/**
 * 更换组织机构
 * @tips User
 * @tags [User]
 * @param {string} id 用户ID
 * @param { object } aDataBody 参数 [#/components/schemas/Volo.Abp.Identity.UpdateUserOrganizationUnitInput]
  */
export function api_PUT_UsersIdChangeOrganizationUnit (id, aDataBody) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: `/api/identity/users/${id}/change-organizationUnit`,
    method: 'put',
    data: aDataBody
  });
}
/**
 * 启用用户
 * @tips User
 * @tags [User]
 * @param {string} id 用户ID
  */
export function api_PUT_UsersIdEnable (id) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: `/api/identity/users/${id}/enable`,
    method: 'put'
  });
}
/**
 * 禁用用户
 * @tips User
 * @tags [User]
 * @param {string} id 用户ID
  */
export function api_PUT_UsersIdDisable (id) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: `/api/identity/users/${id}/disable`,
    method: 'put'
  });
}
/**
 * 获取用户角色
 * @tips User
 * @tags [User]
 * @param {string} id 用户ID
  */
export function api_GET_UsersIdRoles (id) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: `/api/identity/users/${id}/roles`,
    method: 'get'
  });
}
/**
 * --
 * @tips User
 * @tags [User]
 * @param {string} id
 * @param { object } aDataBody 参数 [#/components/schemas/Volo.Abp.Identity.IdentityUserUpdateRolesDto]
  */
export function api_PUT_UsersIdRoles (id, aDataBody) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: `/api/identity/users/${id}/roles`,
    method: 'put',
    data: aDataBody
  });
}
/**
 * 重置用户密码
 * @tips User
 * @tags [User]
 * @param {string} id 用户ID
 * @param { object } aDataBody 参数 [#/components/schemas/Volo.Abp.Identity.IdentityUserResetPasswordInput]
  */
export function api_PUT_UsersIdResetPassword (id, aDataBody) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: `/api/identity/users/${id}/reset-password`,
    method: 'put',
    data: aDataBody
  });
}
/**
 * --
 * @tips User
 * @tags [User]
  */
export function api_GET_UsersAssignableRoles () {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: '/api/identity/users/assignable-roles',
    method: 'get'
  });
}
/**
 * --
 * @tips User
 * @tags [User]
  */
export function api_GET_UsersAvailableOrganizationUnits () {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: '/api/identity/users/available-organization-units',
    method: 'get'
  });
}
/**
 * --
 * @tips User
 * @tags [User]
  */
export function api_GET_UsersAllClaimTypes () {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: '/api/identity/users/all-claim-types',
    method: 'get'
  });
}
/**
 * --
 * @tips User
 * @tags [User]
 * @param {string} id
  */
export function api_GET_UsersIdClaims (id) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: `/api/identity/users/${id}/claims`,
    method: 'get'
  });
}
/**
 * --
 * @tips User
 * @tags [User]
 * @param {string} id
 * @param { object } aDataBody 参数
  */
export function api_PUT_UsersIdClaims (id, aDataBody) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: `/api/identity/users/${id}/claims`,
    method: 'put',
    data: aDataBody
  });
}
/**
 * --
 * @tips User
 * @tags [User]
 * @param {string} id
  */
export function api_GET_UsersIdOrganizationUnits (id) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: `/api/identity/users/${id}/organization-units`,
    method: 'get'
  });
}
/**
 * --
 * @tips User
 * @tags [User]
 * @param {string} id
 * @param {integer} lockoutDuration
  */
export function api_PUT_UsersIdLockLockoutDuration (id, lockoutDuration) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: `/api/identity/users/${id}/lock/${lockoutDuration}`,
    method: 'put'
  });
}
/**
 * --
 * @tips User
 * @tags [User]
 * @param {string} id
  */
export function api_PUT_UsersIdUnlock (id) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: `/api/identity/users/${id}/unlock`,
    method: 'put'
  });
}
/**
 * --
 * @tips User
 * @tags [User]
 * @param {string} username
  */
export function api_GET_UsersByUsernameUsername (username) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: `/api/identity/users/by-username/${username}`,
    method: 'get'
  });
}
/**
 * --
 * @tips User
 * @tags [User]
 * @param {string} email
  */
export function api_GET_UsersByEmailEmail (email) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: `/api/identity/users/by-email/${email}`,
    method: 'get'
  });
}
/**
 * --
 * @tips User
 * @tags [User]
 * @param {string} id
  */
export function api_GET_UsersIdTwoFactorEnabled (id) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: `/api/identity/users/${id}/two-factor-enabled`,
    method: 'get'
  });
}
/**
 * --
 * @tips User
 * @tags [User]
 * @param {string} id
 * @param {boolean} enabled
  */
export function api_PUT_UsersIdTwoFactorEnabled (id, enabled) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: `/api/identity/users/${id}/two-factor/${enabled}`,
    method: 'put'
  });
}
/* ********** UserLookup ********** */
/**
 * --
 * @tips UserLookup
 * @tags [UserLookup]
 * @param {string} id
  */
export function api_GET_UsersLookupId (id) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: `/api/identity/users/lookup/${id}`,
    method: 'get'
  });
}
/**
 * --
 * @tips UserLookup
 * @tags [UserLookup]
 * @param {string} userName
  */
export function api_GET_UsersLookupByUsernameUserName (userName) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: `/api/identity/users/lookup/by-username/${userName}`,
    method: 'get'
  });
}
/**
 * --
 * @tips UserLookup
 * @tags [UserLookup]
 * @param { object } aDataQuery 参数 [Api_GET_UsersLookupSearchQO]
  */
export function api_GET_UsersLookupSearch (aDataQuery) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: '/api/identity/users/lookup/search',
    method: 'get',
    params: aDataQuery
  });
}
/**
 * --
 * @tips UserLookup
 * @tags [UserLookup]
 * @param { object } aDataQuery 参数 [Api_GET_UsersLookupCountQO]
  */
export function api_GET_UsersLookupCount (aDataQuery) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: '/api/identity/users/lookup/count',
    method: 'get',
    params: aDataQuery
  });
}
